package mission009;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Admin
 * @create 2019/10/19
 * @since 1.0.0
 */
public class Mater {
    private List pets = new ArrayList();


    public List getPets() {
        return pets;
    }

    public void setPets(List pets) {
        this.pets = pets;
    }

    void feed(Animal pets) {
        pets.cry();
        pets.eat();
    }
}
